package com.kantboot.business.talent.web.admin.controller;

import com.kantboot.business.talent.domain.entity.BusTalentExpertLevel;
import com.kantboot.global.data.change.annotaion.DataChange;
import com.kantboot.global.data.change.common.CommonDataChangeKey;
import com.kantboot.util.common.result.RestResult;
import com.kantboot.util.core.controller.BaseAdminController;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 专家人才等级的管理员控制器
 */
@RestController
@RequestMapping("/business-talent-web/admin/expertLevel")
public class BusTalentExpertLevelControllerOfAdmin extends BaseAdminController<BusTalentExpertLevel,Long> {

    @Override
    @RequestMapping("/save")
    @DataChange(key = CommonDataChangeKey.CLIENT_INIT)
    public RestResult<Object> save(@RequestBody BusTalentExpertLevel entity) {
        return super.save(entity);
    }

}
